home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / SCSI Samples 1.0 / SCSI Async Sample 06⁄15 ƒ / MakeFile next >
Encoding:
Makefile  |  1994-06-16  |  2.4 KB  |  102 lines  |  [TEXT/MPS ]

  1. #
  2. # SCSI Async Sample
  3. # Copyright © 1993, Apple Computer Inc.
  4. # All rights reserved.
  5. #
  6. Src                    =    ":Src:"
  7. Obj                    =    ":Obj:"
  8. Objects                =                        ∂
  9.         {Obj}AsyncSCSIPresent.c.o            ∂
  10.         {Obj}ContinueTesting.c.o            ∂
  11.         {Obj}DialogUtilities.c.o            ∂
  12.         {Obj}DisplayTestParameters.c.o        ∂
  13.         {Obj}DisplayTestResults.c.o            ∂
  14.         {Obj}DoSCSISynchronousIO.c.o        ∂
  15.         {Obj}GetDevicesToTest.c.o            ∂
  16.         {Obj}GetSCSICDBLength.c.o            ∂
  17.         {Obj}LogManager.c.o                    ∂
  18.         {Obj}NumericFilter.c.o                ∂
  19.         {Obj}MicrosecondDelta.c.o            ∂
  20.         {Obj}MicrosecondTrapPresent.c.o        ∂
  21.         {Obj}SCSIAsyncSampleMain.c.o        ∂
  22.         {Obj}SCSIBusInquiry.c.o                ∂
  23.         {Obj}SpinCursor.c.o                    ∂
  24.         {Obj}StringFormat.c.o                ∂
  25.         {Obj}WindowUtilities.c.o
  26.  
  27. #
  28. # Directory dependencies. "Everything in the {Obj} directory depends on something
  29. # in the {Src} directory." Note: you can throw away the contents of the {Obj}
  30. # directory if you want to rebuild from scratch.
  31. #
  32. {Obj}            ƒ    {Src}
  33.  
  34. #
  35. # Compiler dependencies -- common to all compilations The idea here is that all
  36. # sources are stored in the {Src} subdirectory, and all objects and code resources
  37. # output by the linker or Rez are stored in the {Obj} subdirectory.
  38. #
  39. .c.o ƒ .c                                    ∂
  40.         {Src}SCSI.h                            ∂
  41.         {Src}DialogUtilities.h                ∂
  42.         {Src}LogManager.h                    ∂
  43.         {Src}SCSIDefinitions.h                ∂
  44.         {Src}MicrosecondTrap.h                ∂
  45.         {Src}SCSIAsyncSample.h
  46.     C {COptions}                            ∂
  47.         -o {TargDir}{Default}.c.o            ∂
  48.         {DepDir}{Default}.c
  49.  
  50. .a.o ƒ .a
  51.     Asm {AOptions}                            ∂
  52.         -o {TargDir}{Default}.a.o    ∂
  53.         {DepDir}{Default}.a
  54.  
  55. #
  56. # Build the MetroWerks resources
  57. #
  58. MetroWerks ƒ                                ∂
  59.     "SCSIAsyncSample.µ.rsrc"
  60.         echo "MetroWerks resources created"
  61.  
  62. #
  63. # Build the application.
  64. #
  65. "SCSI Async Sample MPW" ƒƒ                    ∂
  66.         MakeFile                            ∂
  67.         {Objects}
  68.     Link                                    ∂
  69.         -t APPL                                ∂
  70.         {Objects}                            ∂
  71.         "{CLibraries}"CSANELib.o            ∂
  72.         "{Libraries}"Runtime.o                ∂
  73.         "{CLibraries}"StdCLib.o                ∂
  74.         "{Libraries}"Interface.o            ∂
  75.         -o "SCSI Async Sample MPW"
  76.  
  77. "SCSI Async Sample MPW" ƒƒ                    ∂
  78.         MakeFile                            ∂
  79.         "SCSIAsyncSample.µ.rsrc"            ∂
  80.         {Src}SCSIAsyncSample.r
  81.     Rez                                        ∂
  82.         {Src}SCSIAsyncSample.r                ∂
  83.         -append                                ∂
  84.         -t APPL                                ∂
  85.         -i "{CIncludes}"                    ∂
  86.         -i "{RIncludes}"                    ∂
  87.         -o "SCSI Async Sample MPW"
  88.  
  89. "SCSIAsyncSample.µ.rsrc" ƒ                    ∂
  90.         MakeFile                            ∂
  91.         {Src}SCSIAsyncSample.h                ∂
  92.         {Src}SCSIAsyncSample.r
  93.     Rez                                        ∂
  94.         {Src}SCSIAsyncSample.r                ∂
  95.         -append                                ∂
  96.         -t rsrc                                ∂
  97.         -c RSED                                ∂
  98.         -i "{CIncludes}"                    ∂
  99.         -i "{RIncludes}"                    ∂
  100.         -o {targ}
  101.  
  102.